<div class="layui-row" style="height: 100%; background-color: #ffffff; margin-top: 10px;">
	<div class="layui-col-md12">
		<h1 class="site-h1"
			style="border-top: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6;font-size: 21px;line-height:31px;">
			机器人监控
			<span class="uk_warn_times">共<em>${aiList?size!''}</em>个机器人</span>
			<span style="float:right;margin-left: 5px;">
				<a href="/apps/monitor/ai/exp.html?actid=${actid!''}&begin=${begin!''}&end=${end!''}">
				<button class="layui-btn layui-btn-sm dropdown-menu">
					<i class="kfont"></i> 导出 
				</button>
				</a>
			</span>
			<span id="aispan" style="float:right;color:#aaa;font-size:14px;">
				<span >
				选择日期时间:
				</span>
				<input type="text" id="airangdate" class="layui-input" style="height: 32px;width: 310px; float: right;" autocomplete="">
			</span>
		</h1>
		
		<div class="layui-tab" style="margin: 2px 0;">
			<div class="layui-tab-content">
				<div class="layui-tab-item layui-show">
					<div class="box-body ukefu-im-theme">
						<div class="layui-row">
							<div class="layui-col-md12">
								<table class="layui-table" lay-skin="line">
									<thead>
										<tr class="design-sortable-tr">
											<th>机器人</th>
											<th>机器人外呼总量</th>
											<th>机器人接通总量</th>
											<th>可转人工总量</th>
											<th>转人工平均时长(秒)</th>
											<th>机器人平均通话时长(秒)</th>
											<th>振铃平均时长(秒)</th>
											<th>机器人通话总时长(小时)</th>
											<th>调用asr总次数</th>
											<th>调用asr平均次数</th>
										</tr>
									</thead>
									<tbody>
										<#if aiList?? && aiList?size gt 0>
										<#list aiList as agent>
										<tr class="tdHasContorllor design-dropable-td">
											<td class=" first_td_head">${agent.username!''}</td>
											<td>${agent.aitotal!''}</td>
											<td>${agent.aicutin!''}</td>
											<td>${agent.transtotal!''}</td>
											<td>${agent.aitransdurationavg!''}</td>
											<td>${agent.aidurationavg!''}</td>
											<td>${agent.airingdurationavg!''}</td>
											<td>${agent.aidurationsum!''}</td>
											<td>${agent.aiasrtimessum!''}</td>
											<td>${agent.aiasrtimesavg!''}</td>
										</tr>
										</#list>
										<#else>
											<tr>
												<td colspan="20" style="height:400px;">
													<div class="ukefu-empty">
														<i class="layui-icon">&#xe63a;</i>
														<div style="">还没有监控数据</div>
													</div>
												</td>
											</tr>
										</#if>
									</tbody>
								</table>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>
</div>